<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<table class="cntable table table-bordered dataTable table-student">
	<thead>
		<tr>
			<th style="width:50px">序号</th>
			<th data-sortable="true" data-field="createDate" style="width:100px">创建时间</th>
			<th data-sortable="true" data-field="createUserName" style="width:100px">创建者</th>
			<th style="width:100px">评价</th>
			<th style="width:100px">状态</th>
		</tr>
	</thead>
	<tbody>
		<c:forEach var="weekLog" items="${weekLogs}" varStatus="status">
			<tr data-id="${weekLog.id}">
				<td>${status.index+1}</td>
				<td><fmt:formatDate value="${weekLog.createDate}" type="date" dateStyle="default" pattern="yyyy-MM-dd"/></td> 
				<td>${weekLog.createUserName }</td>
				<td>${weekLog.comments}</td>
				<c:if test="${weekLog.commentMark == 1 }"><td style="color:red">未阅</td></c:if>
				<c:if test="${weekLog.commentMark == 0 }"><td>已阅</td></c:if>
			</tr>
		</c:forEach>
	</tbody>
	<tfoot>
		<tr>
			<th class="pager-th">
				<%@ include file="/WEB-INF/views/shared/master/pager.jsp"%>
			</th>
		</tr>
	</tfoot>
</table>